package com.jy.rhin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description:
 * @Author: lww
 * @Date: 2022/5/18 14:17
 */
@SpringBootApplication
@EnableFeignClients({"com.jy.api", "com.jy.rhin.infra.feign","com.jy.rhin.support.feign"})
@ComponentScan(value = { "com.jy.starter","com.jy.api","com.jy.rhin"})
/*@EnableNacosConfig(globalProperties = @NacosProperties(serverAddr = "${spring.cloud.nacos.config.server-addr}"
        ,username="${NACOS_USERNAME:nacos}",password="${NACOS_PASSWORD:nacos}"))*/
public class RhinAggrApplication {
    public static void main(String[] args) {
        SpringApplication.run(RhinAggrApplication.class, args);
    }
}
